﻿using System.Threading.Tasks;
using Jinjia.Approve.Model.Input.JJFlow;
using Jinjia.Approve.Model.VM.JJFlow;
using Jinjia.Approve.Model.VM.JJFlow.DTO;

namespace Jinjia.Approve.IService.JJFlow.Action
{
    public interface IJJFlowActionSendBack
    {
        /// <summary>
        /// 退回
        /// </summary>
        /// <param name="request"></param>
        /// <param name="instance"></param>
        /// <param name="user_id"></param>
        /// <returns></returns>
        Task<NodeInfo> SendBack(SendBackRequest request, JjFlowInstanceVM instance, int user_id);
    }
}